package com.bdzl.admin.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.sys.OrgFddcaDao;
import com.bdzl.pub.entity.sys.OrgFddcaDO;
import com.bdzl.admin.service.sys.OrgFddcaService;



@Service
public class OrgFddcaServiceImpl implements OrgFddcaService {
	@Autowired
	private OrgFddcaDao orgFddcaDao;
	
	@Override
	public OrgFddcaDO get(Integer id){
		return orgFddcaDao.get(id);
	}

	@Override
	public OrgFddcaDO getByOrgId(Integer orgId) {
		return  orgFddcaDao.getByOrgId(orgId);
	}

	@Override
	public List<OrgFddcaDO> list(Map<String, Object> map){
		return orgFddcaDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orgFddcaDao.count(map);
	}
	
	@Override
	public int save(OrgFddcaDO orgFddca){
		return orgFddcaDao.save(orgFddca);
	}
	
	@Override
	public int update(OrgFddcaDO orgFddca){
		return orgFddcaDao.update(orgFddca);
	}
	
	@Override
	public int remove(Integer id){
		return orgFddcaDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return orgFddcaDao.batchRemove(ids);
	}
	
}
